package gg;

public class zuoye09_2 {
    public static void main(String[] args) {
        int[] array = {11, 22, 33};
        printarry(array);
    }

    public static void printarry(int[] array) {
        System.out.print("[");
        for (int i = 0; i < array.length; i++) {
            System.out.print(array[i]);
            if (i != array.length - 1) {
                System.out.print(", ");
            }
        }
        System.out.println("]");
    }
}
